Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | describe('Direct Generator', function () { |
||
18 | it('Execute test Remoting method with parameter', function() { |
||
19 | var value = ""; |
||
20 | Test.TestBundle.Test.test2("asd", function(data) { |
||
21 | value = data; |
||
22 | }); |
||
23 | waitsFor(function() { |
||
24 | return (value != "") |
||
25 | }, "The Value should be set", 2000); |
||
26 | runs(function() { |
||
27 | expect(value['result']).toBe('asd'); |
||
28 | }); |
||
29 | }); |
||
30 | it('Execute test Remoting method with request parameter', function() { |
||
42 | }); |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.